/* system example : DIR */
#include <stdlib.h>
#include <iostream>

using namespace std;

class Video_ffplay
{
public:
	Video_ffplay()
	{
		cout << "hello!" << endl;
  		int i=system ("ffplay medias/animGar.mp4 >> video.log  2>&1");
	}

	~Video_ffplay()
	{
		cout << "bye bye!" << endl;
	}
	
};

int main ()
{
  Video_ffplay v;
  return 0;
}
